package com.ygk.bluepath.bean;

/**
 * Created by USER on 2016/7/6.
 */


import com.lidroid.xutils.db.annotation.Id;
import com.lidroid.xutils.db.annotation.Table;

@Table(name = "bean_LocationBeanCache")

public class LocationBeanCache {
    @Id
    private int id;//表的主键
    private String flagId = "";//位置id
    private double longitude = 0;// 经度
    private double latitude = 0;// 纬度
    private String locationName = "";//位置名称
    private int locationType = 0;//位置类型,0收费站，1标识点
    private int recordTimes = 0;//监听的次数

    public LocationBeanCache() {

    }

    public LocationBeanCache(int id, String flagId, double longitude, double latitude, String locationName, int locationType, int recordTimes) {
        this.id = id;
        this.flagId = flagId;
        this.longitude = longitude;
        this.latitude = latitude;
        this.locationName = locationName;
        this.locationType = locationType;
        this.recordTimes = recordTimes;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getFlagId() {
        return flagId;
    }

    public void setFlagId(String flagId) {
        this.flagId = flagId;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public String getLocationName() {
        return locationName;
    }

    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }

    public int getLocationType() {
        return locationType;
    }

    public void setLocationType(int locationType) {
        this.locationType = locationType;
    }

    public int getRecordTimes() {
        return recordTimes;
    }

    public void setRecordTimes(int recordTimes) {
        this.recordTimes = recordTimes;
    }
}
